package com.book.mapper;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.session.RowBounds;

import com.book.entity.User;
import org.springframework.stereotype.Repository;

@Repository
public interface UserMapper extends BaseMapper<User> {

	User findByUserName(String username);

	List<User> query(Map<String, Object> params, RowBounds rowBounds);

	Integer queryCount(Map<String, Object> params);

	void update(User user);
	
}
